arm: lib: Fix uldivmod.S build on Thumb2
authorMarek Vasut <[email protected]>
Thu, 26 May 2016 16:01:41 +0000 (18:01 +0200)
committerTom Rini <[email protected]>
Fri, 3 Jun 2016 01:21:45 +0000 (21:21 -0400)
commite64d75948446b14ff817c10ae5a65c84b1d24ba7
tree8f19112887a9424422a7d0ffca1fc9ecac445e94
parentc5a543ea2d4bcedd87754b78babb68929cf8ab33
arm: lib: Fix uldivmod.S build on Thumb2

This assembler source won't build in Thumb2 mode, so fix it adding
the necessary Thumb2 conditional macros from unified.h .

This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
which is necessary for correct build of these files both in ARM and
Thumb mode, just like Linux does.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
arch/arm/lib/uldivmod.S